package lab02.test15;

/**
 * Created by Lenovo on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        Granguate Zhangsan = new Granguate();
       if (Zhangsan.getpay()-Zhangsan.getfee()<2000){
           System.out.println("you need a loan!");
       }else {
           System.out.println("you income is enough!");
       }
    }
}
